<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <h:outputStylesheet library="css" name="default.css" />
        <h:outputStylesheet library="css" name="layout.css" />
        <title>
            <ui:insert name="title">
                LogAnalisis
            </ui:insert>
        </title>
    </h:head>

    <h:body>
        <p:ajaxStatus onstart="ajaxsts.show()" oncomplete="ajaxsts.hide()"/>
        <p:layout fullPage="true">
            <p:layoutUnit position="north" size="70" styleClass="panel-noborder-noradius" >
                <h:form>
                    <ui:include src="menu.xhtml" />
                    <p:toolbar id="defaulttoolbar" styleClass="panel-noborder-noradius" >
                        <p:toolbarGroup align="left">
                            <p:commandButton type="push" title="Home" icon="ui-icon-home"/>
                            <p:separator />
                            <h:outputLabel value="Monitor " />
                            <p:commandButton type="push" title="Iniciar monitor" icon="ui-icon-play"/>
                            <p:commandButton type="push" title="Detener Monitor" icon="ui-icon-pause"/>
                            <p:separator />
                            <ui:insert name="toolbar">
                            </ui:insert>
                        </p:toolbarGroup>

                        <p:toolbarGroup align="right">
                            <p:menuButton value="Opciones">
                                <p:menuitem value="Password" url="#" icon="ui-icon-unlocked" />
                                <p:menuitem value="Logout" url="#" icon="ui-icon-power" />
                            </p:menuButton>
                        </p:toolbarGroup>
                    </p:toolbar>
                </h:form>
            </p:layoutUnit>

            <p:layoutUnit  id="statusbar" position="south" size="20" styleClass="prueba">
                <ui:insert name="button" >

                </ui:insert>
            </p:layoutUnit>

            <p:layoutUnit position="west" size="300" collapsible="true" resizable="true"
                          header="Tareas comunes" >
                <ui:insert name="left" >

                </ui:insert>
            </p:layoutUnit>

            <p:layoutUnit position="center">
                <h:form>
                    <p:panel id="panelcontent" styleClass="panel-noborder-noradius">
                        <ui:insert name="content" >
                        </ui:insert>
                    </p:panel>
                </h:form>
            </p:layoutUnit>
        </p:layout>
        <p:dialog widgetVar="ajaxsts" modal="true" closable="false" maximizable="false" minimizable="false"
                  resizable="false">
            <h:panelGrid columns="1">
                <h:graphicImage library="img" name="ajax-loader.gif"/>
                <h:outputLabel value="por favor espere..." style="font-weight: normal;padding: 5px" />
            </h:panelGrid>
        </p:dialog>
        <ui:insert name="dialogs"></ui:insert>
    </h:body>
</html>
